package net.mikoo.seals.boss.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import net.mikoo.seals.boss.common.BaseModel;

public class Agent extends BaseModel {

	private static final long serialVersionUID = 7090671103072825893L;

	/**
	 * 公司名称
	 */
	private String companyName;

	/**
	 * 公司类型
	 */
	private String companyType;

	/**
	 * 社会统一信用代码
	 */
	private String creditCode;

	/**
	 * 营业执照存放路径
	 */
	private String businessLicenseUrl;

	/**
	 * 营业期限开始时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date businessTermStart;

	/**
	 * 营业期限结束时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date businessTermEnd;

	/**
	 * 经营范围
	 */
	private String businessScope;

	/**
	 * 企业法人姓名
	 */
	private String legalPerson;

	/**
	 * 法人身份证号
	 */
	private String idcard;

	/**
	 * 法人身份证正面照片
	 */
	private String idcardFront;

	/**
	 * 法人身份证反面照片
	 */
	private String idcardBack;

	/**
	 * 法人身份证证件有效期开始时间
	 */
	private Date effectDateStart;

	/**
	 * 法人身份证证件有效期结束时间
	 */
	private Date effectDateEnd;

	/**
	 * 公司账户到期时间
	 */
	private Date expireDate;

	/**
	 * 公司状态
	 */
	private String agentStatus;

	/**
	 * 管理员账户ID
	 */
	private String userLoginId;

	private String password;

	/**
	 * 创建时间
	 */
	private Date createTime;

	private Long provinceId;

	private Long cityId;

	private Long areaId;

	private Long agentId;

	private Long partyId;

	private Person person;

	public Agent() {

	}

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyType() {
		return companyType;
	}

	public void setCompanyType(String companyType) {
		this.companyType = companyType;
	}

	public String getCreditCode() {
		return creditCode;
	}

	public void setCreditCode(String creditCode) {
		this.creditCode = creditCode;
	}

	public String getBusinessLicenseUrl() {
		return businessLicenseUrl;
	}

	public void setBusinessLicenseUrl(String businessLicenseUrl) {
		this.businessLicenseUrl = businessLicenseUrl;
	}

	public Date getBusinessTermStart() {
		return businessTermStart;
	}

	public void setBusinessTermStart(Date businessTermStart) {
		this.businessTermStart = businessTermStart;
	}

	public Date getBusinessTermEnd() {
		return businessTermEnd;
	}

	public void setBusinessTermEnd(Date businessTermEnd) {
		this.businessTermEnd = businessTermEnd;
	}

	public String getBusinessScope() {
		return businessScope;
	}

	public void setBusinessScope(String businessScope) {
		this.businessScope = businessScope;
	}

	public String getLegalPerson() {
		return legalPerson;
	}

	public void setLegalPerson(String legalPerson) {
		this.legalPerson = legalPerson;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getIdcardFront() {
		return idcardFront;
	}

	public void setIdcardFront(String idcardFront) {
		this.idcardFront = idcardFront;
	}

	public String getIdcardBack() {
		return idcardBack;
	}

	public void setIdcardBack(String idcardBack) {
		this.idcardBack = idcardBack;
	}

	public Date getEffectDateStart() {
		return effectDateStart;
	}

	public void setEffectDateStart(Date effectDateStart) {
		this.effectDateStart = effectDateStart;
	}

	public Date getEffectDateEnd() {
		return effectDateEnd;
	}

	public void setEffectDateEnd(Date effectDateEnd) {
		this.effectDateEnd = effectDateEnd;
	}

	public Date getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}

	
	public String getAgentStatus() {
		return agentStatus;
	}

	public void setAgentStatus(String agentStatus) {
		this.agentStatus = agentStatus;
	}

	public String getUserLoginId() {
		return userLoginId;
	}

	public void setUserLoginId(String userLoginId) {
		this.userLoginId = userLoginId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Long provinceId) {
		this.provinceId = provinceId;
	}

	public Long getCityId() {
		return cityId;
	}

	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getAgentId() {
		return agentId;
	}

	public void setAgentId(Long agentId) {
		this.agentId = agentId;
	}

	public Long getPartyId() {
		return partyId;
	}

	public void setPartyId(Long partyId) {
		this.partyId = partyId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
